package com.shamine.kuaiqiao.blink.basic

import android.app.Application
import android.os.Environment
import cn.bmob.v3.Bmob
import java.io.File

class BlinkApplication: Application() {

    companion object {
        val APP_ID = "92797566b0973864e3150bed02587ede"
        val APP_FOLDER_NAME = "Blink" //app 文件夹名字
        val SUB_SAVE = "CongCongSave"//保存下载的原图
        val SD_CARD_PATH = Environment.getExternalStorageDirectory().absolutePath
        val SAVE_PATH = SD_CARD_PATH+ File.separator+ APP_FOLDER_NAME+ File.separator+ SUB_SAVE
    }

    override fun onCreate() {
        super.onCreate()
        Bmob.initialize(this, APP_ID);
    }
}